#ifndef _BSP_BUTTON_H
#define _BSP_BUTTON_H
#include "driver/gpio.h"
#include "driver/dedic_gpio.h"

#define TM6108_GPIO_BIN0    GPIO_NUM_46
#define TM6108_GPIO_BIN1    GPIO_NUM_3
#define TM6108_GPIO_BIN2    GPIO_NUM_2
#define TM6108_GPIO_BIN3	GPIO_NUM_1


#define KEY_VOICE_MUTE      5      /* KEY1 */
#define KEY_CHOICE          4      /* KEY2 */
#define KEY_ADJUST_DECREASE 3      /* KEY4 */
#define KEY_ADJUST_INCREASE 2      /* KEY3 */
#define KEY_START_STOP      1      /* KEY5 */

#define ARRAY_SIZE(x) sizeof(x)/sizeof(x[0])
#define BUTTON_TM6108 1
#define BUTTON_ESP32  0






void button_initial(void);


#endif
